//
//  main.m
//  4-7
//
//  Created by Mac OS on 16-4-7.
//  Copyright (c) 2016年 lms. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Atom.h"
#import "Animal.h"
#import "People.h"


int main(int argc, const char * argv[])
{

    @autoreleasepool {
        
        // insert code here...
        NSLog(@"Hello, World!");
        
         Atom * atom = [[Atom alloc] init];
         NSLog(@"Atom chemical element name: %@",atom.chemicalElement);
         NSLog(@"Atom chemical element name: %@",[atom chemicalElement]);
         
         
//            People * p=[[People alloc]init];
//    
//               p.name=@"mith";
//               Animal *ani=p;
//               [ani eat];
//                [ani sleep];
//        
//                [p eat];
//                [p sleep];
//                [p talk:@"是的"];
        
        

        
    }
    return 0;
}

